/*
Below is the eMule Search Bookmarklet:

javascript:var%20s=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));s=encodeURIComponent(s);if(s!==''){location.href='ed2k://|search|'+s+'|/'}void(0)

Below is the source of eMule Search Bookmarklet:
*/
var s = ( ( window.getSelection && window.getSelection() ) || ( document.getSelection && document.getSelection() ) || ( document.selection && document.selection.createRange && document.selection.createRange().text ) );
s = encodeURIComponent(s);
if (s !== "") {
	location.href = "ed2k://|search|" + s + "|/"
}
void(0)